<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 3.0 License

Name       : RedAllOver  
Description: A two-column, fixed-width design with dark color scheme.
Version    : 1.0
Released   : 20120604

-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Keno Statistik</title>
<link href="http://fonts.googleapis.com/css?family=Abel|Arvo" rel="stylesheet" type="text/css" />
<link href="http://0ax.de/css/style.css" rel="stylesheet" type="text/css" media="screen" />
<link rel="shortcut icon" href="http://0ax.de/images/favicon.ico" />

<link href="css/ui-lightness/jquery-ui-1.8.21.custom.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery.ui.datepicker.js"></script>
<script type="text/javascript" src="js/jquery.ui.widget.js"></script>  
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.21.custom.min.js"></script>
<script type="text/javascript" src="js/ui.datepicker-de.js"></script>
</head>
<body >

<script type="text/javascript">
 $(document).ready(function() {
 $.datepicker.setDefaults($.datepicker.regional['']);
 $('#datepicker').datepicker($.datepicker.regional['de']); // same change here
 });
</script>



<?php
require_once("variablen.php");
?>
<div id="wrapper">
	<div id="menu-wrapper">
	<div id="menu">
		<ul>
			<li class="current_page_item"><a href="<?php $url?>">Home</a></li>
			<li><a href="#">Blog</a></li>
			<li><a href="#">Photos</a></li>
			<li><a href="#">About</a></li>
			<li><a href="#">Links</a></li>
			<li><a href="#">Contact</a></li>
		</ul>
	</div>
	</div>
	<!-- end #menu -->
	<div id="header">
		<div id="logo">
			<h1><a href="#">Keno Statistik</a></h1>
		</div>
	</div>
	<!-- end #header -->
	<div id="about">
		<h2 class="title">aktuelle Ziehungen</h2>
		<div id="last_five">
            <?php
                $query_last_five = mysql_query($sql_last_five) or die("Anfrage nicht erfolgreich");
            ?>
            <table>
                <tr>
                    <th>Datum</th>                     
                    <th>1</th>
                    <th>2</th>
                    <th>3</th>
                    <th>4</th>
                    <th>5</th>
                    <th>6</th>
                    <th>7</th>
                    <th>8</th>
                    <th>9</th>
                    <th>10</th>
                    <th>11</th>
                    <th>12</th>
                    <th>13</th>
                    <th>14</th>
                    <th>15</th>
                    <th>16</th>
                    <th>17</th>
                    <th>18</th>
                    <th>19</th>
                    <th>20</th>
                </tr>
                <?php                    
                    while ($adr = mysql_fetch_array($query_last_five)){
                ?>
                <tr>
                    <td><?=$adr['Datum'];?></td>
                    <td><?=$adr['zahl_1']?></td>
                    <td><?=$adr['zahl_2']?></td>
                    <td><?=$adr['zahl_3']?></td>
                    <td><?=$adr['zahl_4']?></td>
                    <td><?=$adr['zahl_5']?></td>
                    <td><?=$adr['zahl_6']?></td>
                    <td><?=$adr['zahl_7']?></td>
                    <td><?=$adr['zahl_8']?></td>
                    <td><?=$adr['zahl_9']?></td>
                    <td><?=$adr['zahl_10']?></td>
                    <td><?=$adr['zahl_11']?></td>
                    <td><?=$adr['zahl_12']?></td>
                    <td><?=$adr['zahl_13']?></td>
                    <td><?=$adr['zahl_14']?></td>
                    <td><?=$adr['zahl_15']?></td>
                    <td><?=$adr['zahl_16']?></td>
                    <td><?=$adr['zahl_17']?></td>
                    <td><?=$adr['zahl_18']?></td>
                    <td><?=$adr['zahl_19']?></td>
                    <td><?=$adr['zahl_20']?></td>
                </tr>
                <?php 
                    }
                ?>
            </table>
        </div>
    </div>
	<div id="page">
		<div id="content">
			<div class="post">
				<h2 class="title">bla bla bla...</h2>
                		
			</div>
			<div class="post">
				<h2 class="title">bla bla bla...</h2>
				
			</div>
		</div>
		<div id="sidebar">			
			<h2>ziehung eintragen</h2>
			<form action="http://0ax.de/eintragen.php" method="post">
                <table>
                    <tr>
                        <td><input type="text" id="datepicker" name="user_date" /></td> 
                        <td>Datum der Ziehung</td>                       
                    </tr>                
                </table>
                <table class="sidebar">
                    <tr>
                        <td><input class="input_zahl" name="zahl_1" type="text" maxlength="2" required="required"/></td>
                        <td><input class="input_zahl" name="zahl_2" type="text" maxlength="2" required="required"/></td>
                        <td><input class="input_zahl" name="zahl_3" type="text" maxlength="2" required="required"/></td>
                        <td><input class="input_zahl" name="zahl_4" type="text" maxlength="2" required="required"/></td>
                        <td><input class="input_zahl" name="zahl_5" type="text" maxlength="2" required="required"/></td>
                        <td><input class="input_zahl" name="zahl_6" type="text" maxlength="2" required="required"/></td>
                        <td><input class="input_zahl" name="zahl_7" type="text" maxlength="2" required="required"/></td>
                        <td><input class="input_zahl" name="zahl_8" type="text" maxlength="2" required="required"/></td>
                        <td><input class="input_zahl" name="zahl_9" type="text" maxlength="2" required="required"/></td>
                        <td><input class="input_zahl" name="zahl_10" type="text" maxlength="2" required="required"/></td>                            
                    </tr>
                    <tr>
                        <td><input class="input_zahl" name="zahl_11" type="text" maxlength="2" required="required"/></td>
                        <td><input class="input_zahl" name="zahl_12" type="text" maxlength="2" required="required"/></td>
                        <td><input class="input_zahl" name="zahl_13" type="text" maxlength="2" required="required"/></td>
                        <td><input class="input_zahl" name="zahl_14" type="text" maxlength="2" required="required"/></td>
                        <td><input class="input_zahl" name="zahl_15" type="text" maxlength="2" required="required"/></td>
                        <td><input class="input_zahl" name="zahl_16" type="text" maxlength="2" required="required"/></td>
                        <td><input class="input_zahl" name="zahl_17" type="text" maxlength="2" required="required"/></td>
                        <td><input class="input_zahl" name="zahl_18" type="text" maxlength="2" required="required"/></td>
                        <td><input class="input_zahl" name="zahl_19" type="text" maxlength="2" required="required"/></td>
                        <td><input class="input_zahl" name="zahl_20" type="text" maxlength="2" required="required"/></td>                            
                    </tr>
                </table> 
                <table>
                    <tr>                        
                        <td><input type="reset" value="Abbrechen"/></td>
                        <td><input type="submit" value="Absenden"/></td>
                    </tr>                
                </table>                                   
            </form>					
		</div>
		
	</div>
</div>
<div id="footer">
	<p>Copyright (c) 2012 Sitename.com. All rights reserved. photo by <a href="http://fotogrph.com/">fotogrph</a>. Design by <a href="http://www.freecsstemplates.org/"> Free CSS Templates</a>.</p>
</div>
<!-- end #footer -->
</body>
</html>
